$(function() {
    var num = frxs.getUrlParam("searchTime");
    switch (num) {
        case "7":
            $(".time").text("最近一周");
            $(".select li:eq(1)").hide();
            break;
        case "30":
            $(".time").text("最近一月");
            $(".select li:eq(2)").hide();
            break;
        case "90":
            $(".time").text("最近三月");
            $(".select li:eq(3)").hide();
            break;
        case "182":
            $(".time").text("最近半年");
            $(".select li:eq(4)").hide();
            break;
        default:
            $(".select li:eq(0)").hide();
            break;
    }


});

function selDate(num) {
    var url = '../Home/NewMessage?searchTime=' + num;
    if(num==0) {
        url = '../Home/NewMessage';
    }
    location.href = url;
}/**
 * Created by jiali on 2017/2/23.
 */
